<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="net.fckeditor.*" %>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>

<html>
	<head>
		<title>FCKeditor - JSP Sample</title>
		<script type="text/javascript">
			function FCKeditor_OnComplete(editorInstance) {
				window.status = editorInstance.Description;
			}
		</script>
	</head>
	<%
		FCKeditor fckEditor = new FCKeditor(request, "EditorDefault");
		fckEditor.setHeight("100%");
	%>
	<body>
		
		<form action="FCKTstPostData.jsp" method="post" target="_blank">
		<table width="100%" height="100%" border="1">
			<tr valign="top">
				<td width="100%" height="100%">
					<%
						fckEditor.setHeight("400");
						fckEditor.setValue("This is some <strong>sample text</strong>. You are using <a href=\"http://www.fckeditor.net\">FCKeditor</a>.");
						out.println(fckEditor);
					%>
				</td>
			</tr>
			<tr>
				<td height="30px">
					<input type="submit" value="Submit" />
				</td>
			</tr>
		</table>
		</form>
	</body>
</html>
		